package com.ruoyi.regulator.service.impl;

import com.ruoyi.regulator.domain.pojo.NjtDistricts;
import com.ruoyi.regulator.mapper.NjtDistrictsMapper;
import com.ruoyi.regulator.service.NjtDistrictsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class NjtDistrictsServiceImpl implements NjtDistrictsService {
    @Autowired
    private NjtDistrictsMapper njtDistrictsMapper;

    @Override
    public List<NjtDistricts> getNjtDistrictsList(NjtDistricts njtDistricts) {
        return njtDistrictsMapper.selectNjtDistrictsList(njtDistricts);
    }
}
